//package com.fowo.api.service.handleWork;
//
//import com.fowo.api.model.purchase.application.PurchaseApplicationExamineVerifyAction;
//import com.fowo.api.model.purchase.application.PurchaseApplicationVo;
//import com.fowo.api.service.impl.PurchaseApplicationServiceImpl;
//import org.springframework.stereotype.Component;
//import org.springframework.util.Assert;
//
//import javax.annotation.Resource;
//
//@Component
//public class apply implements PurchaseApplicationExamineVerifyAction {
//
////    @Resource
////    private PurchaseApplicationServiceImpl purchaseApplicationService;
////    @Override
////    public void run(Long id) throws Exception {
////        PurchaseApplicationVo voById = purchaseApplicationService.getVoById(id);
////        Assert.notNull(voById,"不存在！");
////        Assert.isTrue(voById.getStauts().equals("0"),"违规操作!");
////        voById.setStauts("1");
////        purchaseApplicationService.update(voById);
////
////    }
//}
